// NOTE : 1.Scan parameters in the SME_PARAMETERS need to be seperated
//          by using the data structure
// 		  2.How the SME module know the description index of the connected
//			STA?
//			->MLME supplies a function call  

//
// SME task global functions
//


/////////////////////////////////////////////////////////////////////////////
//Global Functions
extern void SME_Init(PWB32_ADAPTER);
extern void SME_ResetPara(PWB32_ADAPTER);
extern void SME_Entry(PWB32_ADAPTER , pK_MSG);
extern void SME_Halt(PWB32_ADAPTER Adapter);
extern void SME_Stop(PWB32_ADAPTER Adapter);
extern void vSmeTimerStop(PWB32_ADAPTER Adapter);
extern void vNetDisconnectInd(PWB32_ADAPTER Adapter);
BOOL boJoinfilter(PWB32_ADAPTER Adapter, USHORT wBssIdx);

void UpdateBssidFromHw(PWB32_ADAPTER Adapter);
void GetMacPsStateComplete(PWB32_ADAPTER Adapter);
void HwSetChanComplete(PWB32_ADAPTER Adapter, ChanInfo Chan);

void UNKNOWN_ChanRange(PWB32_ADAPTER , UCHAR , psCHAN_LIST );
void EUROPE_ChanRange(PWB32_ADAPTER , UCHAR , psCHAN_LIST );
void JAPAN_ChanRange(PWB32_ADAPTER , UCHAR , psCHAN_LIST );
void USA_ChanRange(PWB32_ADAPTER , UCHAR , psCHAN_LIST );
void SPAIN_ChanRange(PWB32_ADAPTER , UCHAR , psCHAN_LIST );
void FRANCE_ChanRange(PWB32_ADAPTER , UCHAR , psCHAN_LIST );
void ISRAEL_ChanRange(PWB32_ADAPTER , UCHAR , psCHAN_LIST );
void GetSupportChanRange(PWB32_ADAPTER Adapter);
void GetIbssChan(PWB32_ADAPTER Adapter);
void FillEventLog(PWB32_ADAPTER Adapter, USHORT EventValue);

VOID CheckHwRadioStatus( IN PWB32_ADAPTER Adapter );
VOID CheckRadioOffForDisassoc( IN PWB32_ADAPTER Adapter,
								RadioOff DesiredRadioOffData,
								RadioOff CurrentRadioOffData );
#define SME_SEND_NULL_PACKET( _A, _F )	SendNullData( _A, _F )
CHAR SendNullData(PWB32_ADAPTER Adapter, UCHAR PowerMode);


